Dev_Tasks
Remote PLC - server PLC that responds to communications request; Local PLC - client PLC that initiates communications request
Reference: TCP/IP Ethernet Communications for the Series 90 PLC User's Manual  GFK-1541B.
#END#

Ethernet_Module_Task_Id
21 for CPU364; 0 for all other Ethernet interface
#END#

Wait_Flag	
This flag determines whether PLC will wait until the device serial ports receive the intended data before continuing. The request can either send a message and wait for a reply, or send a message and continue without waiting for a reply. If the Command Block specifies that the program will not wait for a reply, the Command Block contents are sent to the device and ladder program execution resumes immediately. This is referred to as NOWAIT mode. If the Command Block specifies that the program will wait for a reply, the Command Block contents are sent to the targeted device and the CPU waits for a reply for a maximum length of time specified in the Command Block. If the device does not respond in that time, ladder program execution resumes. This is referred to as WAIT mode.
#END#

Idle_Tmout	
The idle timeout value is the maximum time the PLC waits for the device to acknowledge receipt of the request. For NOWAIT, this value is not used. (Any timeout value is ignored; it can be zero.) If WAIT is selected, this word specifies the idle timeout period, in 100-microsecond increments.
#END# 

Max_Comm_Tm	
This word contains the maximum amount of time the program should hold the window open when the device is busy. For NOWAIT, this value is not used. (Any timeout value is ignored; it can be zero.) If WAIT is selected, this word specifies the maximum time in 100 microsecond increments.
#END#

Establish Read Channel IP
The Establish Read Channel command requests that a channel be associated with a remote PLC and that data from the remote PLC be transferred (periodically) to the local PLC. The Command Block specifies the period, the number of reads from the server (remote PLC) to perform, and the timeout allowed in waiting for each transfer to complete. The first read is performed immediately, regardless of the period specified. A Channel command set up to issue a single read can have only one pending read transfer.
#END#

Establish Read Channel Symbolic Name
The Establish Read Channel command requests that a channel be associated with a remote PLC and that data from the remote PLC be transferred (periodically) to the local PLC. The Command Block specifies the period, the number of reads from the server (remote PLC) to perform, and the timeout allowed in waiting for each transfer to complete. The first read is performed immediately, regardless of the period specified. A Channel command set up to issue a single read can have only one pending read transfer.
#END#

Establish Write Channel IP
The Establish Write Channel command requests that a channel be connected to a remote PLC and that data from the local PLC be transferred (periodically) to the remote PLC. The Command Block specifies the period, the number of writes to the server (remote PLC) to perform, and the timeout allowed in waiting for each transfer to complete. The first write is performed immediately, regardless of the period specified. A Channel command set up to issue a single write can have only one pending read transfer.
#END#

Establish Write Channel Symbolic Name
The Establish Write Channel command requests that a channel be connected to a remote PLC and that data from the local PLC be transferred (periodically) to the remote PLC. The Command Block specifies the period, the number of writes to the server (remote PLC) to perform, and the timeout allowed in waiting for each transfer to complete. The first write is performed immediately, regardless of the period specified. A Channel command set up to issue a single write can have only one pending read transfer
#END#

Send Information Report IP
The Send Information Report COMMREQ requests that a particular block of memory within the PLC CPU reference tables be transferred periodically from an Ethernet Interface (SRTP Client) to a Host Application SRTP Server. The Command Block specifies the repetition period, the number of transfers to the server to perform, and the timeout allowed in waiting for each transfer to complete. The first send is performed immediately, regardless of the period specified. A Channel command set up to issue a single send can have only one pending send transfer.
#END#

Send Information Report Symbolic Name
The Send Information Report COMMREQ requests that a particular block of memory within the PLC CPU reference tables be transferred periodically from an Ethernet Interface (SRTP Client) to a Host Application SRTP Server. The Command Block specifies the repetition period, the number of transfers to the server to perform, and the timeout allowed in waiting for each transfer to complete. The first send is performed immediately, regardless of the period specified.
#END#

Abort Channel
This command immediately disconnects an active channel from its remote PLC and renders channel idle. Channel Transfer bit, Channel Error bit & Detailed Channel Status words for channel are set to 0.Actual function is performed locally within Ethernet Interface
#END#

Retrieve Detailed Channel Status
The Retrieve Detailed Channel Status command requests that the current Detailed Channel Status words be returned for a channel. The Detailed Channel Status words contain an active/inactive channel indicator and the last channel error codes seen. These two words of detailed status supplement the information available in the COMMREQ Status word and the Channel Status bits. The command has no effect on the value of the Channel Status bits. Be aware that the Detailed Channel Status words are updated every time the status of the channel changes. If, for example, the channel is operating with a fast repetition period, the status words may change faster than the ladder executes the COMMREQ to retrieve them. Therefore, some status values might be missed from the ladders point of view. Note: For the Abort Channel and Retrieve Detailed Channel Status commands, no actual data is transmitted on the network. Communication occurs between the client PLC CPU and the local Ethernet Interface only. For these commands, known as local commands, the actual function is performed locally within the Ethernet Interface and then the COMMREQ Status word is sent immediately to the CPU.
#END#

Channel_Number
Specifies the channel to be used. If the channel number is the same as a channel already in use the channel will be re-tasked to perform this new command.
#END#

No_Of_Read_Repititions	
Specifies number of reads to be performed before automatically completing commreq and closing the channel. If 1, only a single read will be issued. If 0, reads will be issued continuously on the requested period until the channel is aborted.
#END#

Time_Unit_For_Read_Period	
This and next word together define how often the read is to be performed (read period). This specifies time unit for read period. E.g. If this Word specifies seconds as the time unit and next Word contains a value of 20, then the read period is 20 seconds. If time unit value is Hours, then the max number of time units is limited to 5965.
#END#

No_Of_Time_Units_For_Read_Period	
Specifies number of time units for read period. The read period is in effect even when Channel command is setup to issue a single read. If 0-a subsequent transfer will be issued as soon as the previous transfer completes and no period errors can occur. Example Read Period Calculation: If Word 10 contains a value of 3 specifying seconds as the time unit and Word 11 contains a value of 20, then the read period is 20 seconds. A read will normally be issued at the start of each read period. If the pending read transfer has not completed during the read period, the Channel Error bit and Detailed Channel Status words will be set to indicate a non-fatal period error. The pending transfer can still complete after the period error occurs. For Channel commands set up to issue multiple reads, the next read transfer will be issued only after the pending read transfer completes. If the Number of Time Units is zero, a subsequent transfer will be issued as soon as the previous transfer completes. In this case, no period errors can occur.
#END#

Timeout_For_Each_Read
Timeout_For_Each_Read: Specifies the time (in hundredths of a second) the Ethernet Interface will wait for a read transfer to complete before setting the Channel Error bit and Detailed Channel Status words to indicate a non-fatal timeout error. The transfer can still complete even after a timeout occurs. As a result, an application can choose what to do if one occurs. If the timeout value is specified as zero, no timeout errors will be reported. For most applications a timeout need not be specified because the read period, in effect, acts as a timeout. (Word 12 should be zero for no timeout). However, there are two special circumstances in which specifying a timeout is recommended:
1. When the number of time units (Word 11) is zero, so that a subsequent transfer will be issued as soon as the previous transfer completes and no period errors are reported. In this case a timeout value can be specified so that timeout errors will be reported by the Channel Error bit.
2. When the read period is very long (minutes or hours). In this case a shorter timeout value can be specified so the application doesnt have to wait for the read period to expire before taking action.
#END#

Local_PLC_Memory_Type_At_Which_To_Store_Data	
This and next words specify the location in the local PLC where the Ethernet Interface will store data received from the remote PLC.
#END#

Local_PLC_Starting_Address_At_Which_To_Store_Data	
Determines starting address in local PLC in which data from remote PLC is to be stored. Value entered is offset (1-based) from beginning of PLC memory & will be either in bits, bytes, or words depending on Memory type and mode specified in previous Word.
#END#

Remote_PLC_Memory_Type_From_Which_To_Read_Data	
This and next Words specify memory type and starting address in remote PLC from which data is to be read. If %P is used, you must specify a Program name & if %L is used, you must specify a Program name and a Program Block name in subsequent Words 
#END#

Remote_PLC_Starting_Address_From_Which_To_Read_Data	
Determines starting address in remote PLC from which data is to be read. Value entered is offset (1-based) from beginning of PLC memory & will be either in bits, bytes, or words for memory type and mode specified in previous Word.
#END#

Remote_PLC_Number_Of_Memory_Units	
No of memory units to be transferred, where size of a memory unit is either a bit, byte, or word as specified in Remote PLC-Memory Type. For 90-30 PLC (Series 90-70 PLC), a maximum of 8192(16384) bits, 1024(2048) bytes, or 512(1024) words of data can be specified
#END#

Remote_PLC_Network_Address_Type_IP	
Specifies format of remote PLC address. A dotted-decimal IP address is expressed using a separate register for each decimal digit.
#END#

Remote_PLC_Network_Address_Length_IP	
Specifies the length in words of remote PLC IP address. When an address type of dotted-decimal IP address is specified in previous word, this Word must contain 4.
#END#

Remote_PLC_Register_IP_Address	
IP address of the remote PLC to be accessed.
The IP address has to be class A or B or C that means the first byte of IP address has to be less than 224.
Below are the global and other specialized IPv4 address blocks that have been assigned by the Internet Assigned Numbers Authority (IANA).  It does not address IPv4 address space assigned to operators and users through the Regional Internet Registries.  It also does not address allocations or assignments of IPv6 addresses or autonomous system numbers.
   Address Block             	Present Use
*************************************************************************************************
0.0.0.0            		'This' Network (Not a valid IP address). This refers to source hosts on 'this' network
4.0.0.0           		Public-Data Networks
24.0.0.0           		Cable Television Networks
39.0.0.0			Reserved but subject to allocation
127.0.0.0          		Loopback
128.0.0.0         		Reserved but subject to allocation
169.254.0.0	       	Link Local
191.255.0.0		Reserved but subject to allocation
192.0.0.0         		Reserved but subject to allocation
192.0.2.0         		Test-Net
192.88.99.0	       	6to4 Relay Anycast
198.18.0.0		Network Interconnect Device Benchmark Testing
223.255.255.0		Reserved but subject to allocation
224.0.0.0          		Multicast
240.0.0.0			Reserved for Future Use
*************************************************************************************************
AVOID THESE ADRESSES.
#END#

Remote_PLC_Program_Name	
Specify case-sensitive, zero-terminated and padded program name (can be found through the PROG Station Manager command on server Ethernet Interface) to be used with access to remote %P or %L. These words will be ignored if the Memory Type field is not %P or %L.
#END#

Remote_PLC_Program_Block	
Specify case-sensitive, zero-terminated and padded program block name (can be found in the program block declaration in the server ladder program) to be used with access to remote %L memory. These will be ignored if the Memory Type field is not %P or %L.
#END#

Remote_PLC_Network_Address_Type_Sym_Name	
Specifies format of remote PLC address. A dotted-decimal IP address is expressed using a separate register for each decimal digit.
#END#

Remote_PLC_Network_Address_Length_Sym_Name	
Specifies the length in words of remote PLC IP address. When an address type of dotted-decimal IP address is specified in previous word, this Word must contain 4.
#END#

Network_Address_Name	
Specify the Network Address name of remote PLC as an ASCII 32 character string. This is case-sensitive, and must be terminated with a null character (0). An error will result if this name is empty or could not be resolved into address of an actual device
#END#

Remote_PLC_Program_Name_Sym	
Specify the Network Address name of remote PLC as an ASCII 32 character string. This is case-sensitive, and must be terminated with a null character (0). An error will result if this name is empty or could not be resolved into address of an actual device
#END#

Remote_PLC_Program_Block_Sym
Specify case-sensitive, zero-terminated and padded program block name (can be found in the program block declaration in the server ladder program) to be used with access to remote %L memory. These will be ignored if the Memory Type field is not %P or %L.
#END#

No_Of_Write_Repititions	
Specifies number of writes to be performed before automatically completing commreq and closing the channel. If 1,only a single read will be issued. If 0, reads will be issued continuously on the requested period until the channel is aborted
#END#

Time_Unit_For_Write_Period	
This and next word together define how often the write is to be performed (read period). This specifies time unit for write period. E.g. If this Word specify seconds as the time unit and next Word contains a value of 20,then the read period is 20 seconds
#END#

No_Of_Time_Units_For_Write_Period	
Number of time units for write period. The write period is in effect even when Channel command is setup to issue a single write. If 0-a subsequent transfer will be issued as soon as the previous transfer completes and no period errors can occur.
#END#

Timeout_For_Each_Write
Time (in hundredths of a second), Ethernet Interface will wait for a write transfer to complete before setting Channel Error bit & Detailed Channel Status words to indicate a non-fatal timeout error. Transfer can still complete even after timeout occurs. Example Write Period Calculation: If Word 10 contains a value of 3 specifying seconds as the time unit and Word 11 contains a value of 20, then the write period is 20 seconds. A write will normally be issued at the start of each write period. If the pending write transfer has not completed during the write period, the Channel Error bit and Detailed Channel Status words will be set to indicate a non-fatal period error. The pending transfer can still complete after the period error occurs. For Channel commands set up to issue multiple writes, the next write transfer will be issued only after the pending write transfer completes. If the Number of Time Units is zero, a subsequent transfer will be issued as soon as the previous transfer completes. In this case, no period errors are reported by the Channel Error bit. A Channel command set up to issue a single write can have only one pending write transfer.
#END#

Local_PLC_Memory_Type_From_Which_To_Write_Data	
This and next words specify the location in the local PLC from where the Ethernet Interface will get data to be written to the remote PLC.
#END#

Local_PLC_Starting_Address_From_Which_To_Write_Data	
Determines starting address in local PLC from which data is to be written. Value entered is offset (1-based) from beginning of PLC memory & will be either in bits, bytes, or words depending on Memory type and mode specified in previous Word.
#END#

Remote_PLC_Memory_Type_At_Which_To_Store_Data	
This and next Words specify memory type & starting address in remote PLC where data is to be written. If %P is used, you must specify a Program name & if %L is used, you must specify a Program name and a Program Block name in subsequent Words
#END#

Remote_PLC_Starting_Address_At_Which_To_Store_Data	
Determines starting address in remote PLC where data is to be written. Value entered is offset (1-based) from beginning of PLC memory & will be either in bits, bytes, or words for memory type and mode specified in previous Word.
#END#

No_Of_Repititions	
Specifies number of transfer to be performed before automatically completing commreq and closing the channel. If 1-only a single read will be issued. If 0-reads will be issued continuously on requested period until channel is aborted
#END#

Time_Unit_For_Send_Period	
This and next word together define how often the transfer is to be performed. This specifies time unit for read period. E.g. If this Word specifies seconds as the time unit and next Word contains a value of 20, then the period is 20 seconds. Example Send Period Calculation: If Word 10 contains a value of 3 specifying seconds as the time unit and Word 11 contains a value of 20, then the send period is 20 seconds. A send will normally be issued at the start of each send period. If the pending transfer has not completed during the send period, the Channel Error bit and Detailed Channel Status words will be set to indicate a non-fatal period error. The pending transfer can still complete after the period error occurs. For Channel commands set up to issue multiple sends, the next transfer will be issued only after the pending transfer completes.
If the Number of Time Units is zero, a subsequent transfer will be issued as soon as the previous transfer completes. In this case, no period errors are reported by the Channel Error bit.
#END#

Min_Interval_Between_Host_Accesses	
Specifies number of time units for transfer period. The period is in effect even when Channel command is setup to issue a single read. If 0-a subsequent transfer will be issued as soon as previous transfer completes and no period errors can occur.
#END#

Timeout_On_Each_Individual_Transfer_Response	
Time (in hundredths of a second), Ethernet Interface will wait for a send transfer to complete before setting Channel Error bit & Detailed Channel Status words to indicate a non-fatal timeout error. Transfer can still complete even after a timeout occurs
#END#

Local_PLC_Memory_Type_From_Which_To_Send_Data	
This and next words specify the location in the local PLC from where the Ethernet Interface will get data to be written to the Remote SRTP server.
#END#

Local_PLC_Starting_Address_From_Which_To_Send_Data	
Determines starting address in local PLC from which data is to be sent. Value entered is offset (1-based) from beginning of PLC memory & will be either in bits, bytes, or words depending on Memory type and mode specified in previous Word.
#END#

Local_PLC_Number_Of_Memory_Units	
No of memory units to be transferred, where size of a memory unit is either a bit, byte, or word as specified in Remote PLC-Memory Type. For 90-30 PLC (Series 90-70 PLC), a maximum of 8192(16384) bits, 1024(2048) bytes, or 512(1024) words of data can be specified

#END#

Channel_Number_To_Cancel	
This specifies the channel to be disconnected. To abort all channels, if this parameter is -1 (FFFFH), all channels in use will be aborted. It is not an error to abort all channels when there are none in use. Neither is it an error to abort an idle channel
#END#

Channel_Number_To_Retrieve_Status	
The channel number specifies the channel whose status is to be read.
#END#

Mem_Type_To_Store_Channel_Status	
Local PLC memory type in which to store channel status words. The length of transfer is implied and is equal to 2 words.
#END#

StrtAdrs_To_Store_Channel_Status	
Starting address to store Status data & is 1-based offset. Valid ranges of values depend on the PLCs memory ranges. User is responsible for assuring that this area is large enough to contain the 2 words of data without overwriting other application data.
#END#
